import type { ApiResponse } from "@/index";

/**
 * @param data 
 * @returns 
 */
export const uploadAvatarService = (data: FormData): ApiResponse<string> => request({
  method: UploadApi.UploadFile[0],
  url: UploadApi.UploadFile[1],
  data
})